package lc.oa.ui.base;

import android.os.Bundle;
import android.os.Handler;
import android.os.Message;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;


import lc.oa.ui.listeners.IModeChangeListener;


public abstract class BaseFragment extends Fragment implements IModeChangeListener {

    protected Handler handler = new Handler() {
        @Override
        public void handleMessage(@NonNull Message msg) {
            handlerMessage1(msg);
        }
    };
    protected abstract void handlerMessage1(Message msg) ;

    protected abstract void initView();

    protected abstract void initControl();

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }
}
